﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Dissemination.MVC.Models.LogOnModel>>" %>
<%@ Import Namespace="Resources" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
	<asp:Literal runat="server" Text="<%$ Resources:Literals, ApplicationTitle%>" /> &middot; <asp:Literal runat="server" Text="<%$ Resources:Literals, AdministratorsManagementTitle%>" />
</asp:Content>

<asp:Content ContentPlaceHolderID="BreadcrumbContent" runat="server">
	<asp:Literal runat="server" Text="<%$ Resources:Literals, AdministratorsManagementTitle%>" />
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

    <h1><asp:Literal runat="server" Text="<%$ Resources:Literals, AdministratorsManagementTitle%>" /></h1>

    <ul class="elements-list">
        <li class="first">
            <div class="cell350 flota"><asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Literals, UserEmailLiteral%>" /></div>
            <div class="cell350 flota_der"><asp:Literal runat="server" Text="<%$ Resources:Literals, ActionsLiteral%>" /></div>
        </li>

    <% foreach (var item in Model) { %>

        <li>
            <div class="cell350 flota"><%= Html.Encode(item.UserName) %></div>
                
            <div class="enlaces cell350 flota_der">
                <%= Html.ActionLink(Literals.ResetPasswordAction, "ResetPassword", new { username = item.UserName }) %>
            </div> 
    
        </li>
    
    <% } %>

    </ul>

    <p class="enlaces">
        <%= Html.ActionLink(Literals.CreateNewAdministratorLiteral, "Register") %>
    </p>

</asp:Content>
